package com.example.administrator.kotiln;

/**
 * 接口地址
 * Created by Administrator on 2017/3/1.
 */

public class Path {

    /**
     * 域名
     */
    //测试服
    //public static final String NAME = "http://xzg.4gxt.cn";

    //正式服
    public static final String NAME = "http://tangwu.com";

    /**
     * 接口
     */

    //获取验证码的接口
    public static final String GETMSG_PATH = NAME + "/index.php/Api/Phonecode/getphonecode";

    //找回密码的接口
    public static final String FINDPASSWORD_PATH = NAME + "/index.php/Api/Findpassword/resetpassword";


    //更换密码的接口
    public static final String CHANGEPASSWORD_PATH = NAME + "/index.php/Api/Findpassword/changepassword";


    //注册账号的接口
    public static final String REGISTER_PATH = NAME + "/app/register.php?action=post";

    //登录的接口
    public static final String LOGIN_PATH = NAME + "/app/login.php";

    //首页轮播图的接口
    public static final String HOME_CIRCLE_PATH = NAME + "/app/banner.php?a=get_banner";

    //分类页面导航栏一的接口
    public static final String CLASSIFY_ONE_PATH = NAME + "/app/category.php?ac=get_cid_list";

    //分类页面导航栏二的接口
    public static final String CLASSIFY_TWO_PATH = NAME + "/app/category.php?ac=get_ctid_list";

    //分类页面分类商品的接口
    public static final String CLASSIFY_GOODS_PATH = NAME + "/app/mall_list.php?ac=get_mall";

    //购物车列表的接口
    public static final String BUYCAR_LIST_PATH = NAME + "/app/cart.php?action=list";

    //加入购物车的接口
    public static final String JOINCAR_PATH = NAME + "/app/cart.php?action=add";

    //首页购物车数量的接口
    public static final String HOME_SHOPCAR_PATH = NAME + "/app/cart.php?action=count";

    //收款消息列表
    public static final String Message_Receiving_PATH = NAME + "/index.php/Api/Message/pay";

    //收款消息详情
    public static final String Message_Receiving__Detail_PATH = NAME + "/index.php/Api/Message/pay_info";

    //收款消息详情的头像
    public static final String Message_Receiving_photo = NAME + "/Upload/avatar/user1.jpg";

    //系统消息的接口
    public static final String Message_System_PATH = NAME + "/index.php/Api/Message/system";

    //系统消息详情的接口
    public static final String Message_System_Detail_PATH = NAME + "/index.php/Api/Message/sy_info";

    //首页底部的gridview
    public static final String HOME_GRIDVIEW_PATH = NAME + "/app/category.php?ac=get_category";

    //意见反馈
    public static final String FEEDBACK_PATH = NAME + "/index.php/Api/Feedback/saveeedback";

    //收款页面的接口
    public static final String COLLECTION_PATH = NAME + "/index.php/Api/Pay/page";

    //扫码加急收款页面的接口
    public static final String URGENT_PATH = NAME + "/index.php/Api/pay/barcode?";

    //银行卡加急收款页面的接口
    public static final String CARD_URGENT_PATH = NAME + "/index.php/Api/pay/bank";

    //退出登录
    public static final String LOGINOUT_PATH = NAME + "/app/logout.php ";


    /**
     * JS交互
     */
    //使用说明
    public static final String INSTRUCTION_PATH = NAME + "/wap/instruction.html";

    //关于我们
    public static final String ABOUTUS_PATH = NAME + "/wap/about_us.html";

    //限额说明
    public static final String LIMINT_PATH = NAME + "/wap/xiane.html";

    //认证说明
    public static final String CONFREM_PATH = NAME + "/wap/approve.html ";

    //分享介绍
    public static final String SHAREABOUT_PATH = NAME + "/wap/share.html  ";

    //添加店铺条款介绍
    public static final String READINGTERMS_PATH = NAME + "/wap/clause.html";


}
